package src;

public class Message
{
	/**
	 * Show an error message on the system console (calls System.out.println()).
	 * Does not check showMessages flag.
	 * 
	 * @param text
	 */
	public static void err(String text)
	{
		if (Config.showMessages)
		{
			System.out.println(text);
		}
	}

	/**
	 * Show a debug message on the system console (calls System.out.println()).
	 * If showMessages flag is false, does nothing.
	 * 
	 * @param text
	 */
	public static void msg(String text)
	{
		if (Config.showMessages)
		{
			System.out.println(text);
		}
	}
}
